package cn.zhl.linkedlist;

/**
 * @program: demos
 * @description:
 * @author: 刘振华
 * @create: 2020-04-02 14:39
 **/
public abstract class AbstractList<E> implements List<E> {
	protected Integer size;

	public Integer size() {
		return size;
	}

	public boolean isEmpty() {
		return size == 0;
	}
}
